package com.gxar.quick.ar.server.base.common.enums;

/**
 * @author nice
 * @version 1.0
 * @created 2023/11/16.
 */
public enum TransactionSourceEnum {

    ORDER(0, "Order", "订单"),
    TOP_UP(1, "TopUp", "充值"),
    ;

    private final Integer code;
    private final String name;
    private final String desc;

    TransactionSourceEnum(Integer code, String name, String desc) {
        this.code = code;
        this.name = name;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public String getName() {
        return name;
    }

    public String getDesc() {
        return desc;
    }
}
